.class public Lcom/xingbook/ui/InsetXingBookView;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/b/m;


# instance fields
.field private a:F

.field private b:Landroid/view/View;

.field private c:Landroid/view/View;

.field private d:Landroid/view/View;

.field private e:Landroid/view/View;

.field private f:Landroid/widget/ImageView;

.field private g:Landroid/widget/TextView;

.field private h:Landroid/widget/TextView;

.field private i:Lcom/xingbook/b/k;

.field private j:Landroid/widget/HorizontalScrollView;

.field private k:Landroid/widget/LinearLayout;

.field private l:Landroid/widget/LinearLayout;

.field private m:Landroid/widget/TextView;

.field private n:Landroid/widget/ImageView;

.field private o:Lcom/xingbook/ui/p;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    const/high16 v0, 0x3f80

    iput v0, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    new-instance v0, Lcom/xingbook/ui/p;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/p;-><init>(Lcom/xingbook/ui/InsetXingBookView;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->o:Lcom/xingbook/ui/p;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 1

    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/high16 v0, 0x3f80

    iput v0, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    new-instance v0, Lcom/xingbook/ui/p;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/p;-><init>(Lcom/xingbook/ui/InsetXingBookView;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->o:Lcom/xingbook/ui/p;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 1

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/high16 v0, 0x3f80

    iput v0, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    new-instance v0, Lcom/xingbook/ui/p;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/p;-><init>(Lcom/xingbook/ui/InsetXingBookView;)V

    iput-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->o:Lcom/xingbook/ui/p;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/InsetXingBookView;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private a(F)V
    .locals 10

    const/high16 v9, 0x438c

    const/high16 v8, 0x4284

    const v7, 0x44398000

    const/high16 v6, 0x41b0

    const/4 v1, 0x0

    iget v0, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    cmpl-float v0, v0, p1

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput p1, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    const/high16 v2, 0x420c

    mul-float/2addr v2, p1

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    mul-float v2, v6, p1

    float-to-int v2, v2

    mul-float v3, v6, p1

    const/high16 v4, 0x40c0

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-virtual {v0, v2, v1, v3, v1}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v2, v7, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    mul-float v2, v8, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    mul-float v2, v6, p1

    float-to-int v2, v2

    const/high16 v3, 0x4120

    mul-float/2addr v3, p1

    float-to-int v3, v3

    mul-float v4, v6, p1

    float-to-int v4, v4

    const/high16 v5, 0x4180

    mul-float/2addr v5, p1

    float-to-int v5, v5

    invoke-virtual {v0, v2, v3, v4, v5}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v2, 0x42b0

    mul-float/2addr v2, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    mul-float v2, v8, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    const v2, 0x44238000

    mul-float/2addr v2, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v0}, Landroid/widget/HorizontalScrollView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v2, v7, p1

    float-to-int v2, v2

    add-int/lit8 v2, v2, -0x2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    mul-float v2, v9, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    mul-float v2, v8, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, -0x2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    mul-float v2, v9, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    const/high16 v2, 0x420c

    mul-float/2addr v2, p1

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    mul-float v2, v6, p1

    float-to-int v2, v2

    mul-float v3, v6, p1

    float-to-int v3, v3

    invoke-virtual {v0, v2, v1, v3, v1}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v2, v7, p1

    float-to-int v2, v2

    add-int/lit8 v2, v2, -0x2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    mul-float v2, v9, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    mul-float v2, v8, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    const/high16 v2, 0x420c

    mul-float/2addr v2, p1

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    mul-float v2, v6, p1

    float-to-int v2, v2

    mul-float v3, v6, p1

    float-to-int v3, v3

    invoke-virtual {v0, v2, v1, v3, v1}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v2, v7, p1

    const/high16 v3, 0x4000

    sub-float/2addr v2, v3

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    mul-float v2, v8, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    const/high16 v2, 0x43ae

    mul-float/2addr v2, p1

    mul-float v3, v8, p1

    sub-float/2addr v2, v3

    float-to-int v2, v2

    add-int/lit8 v2, v2, -0x1

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v2, v7, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v2, 0x438d

    mul-float/2addr v2, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    mul-float v2, v8, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->n:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v2, 0x4282

    mul-float/2addr v2, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    const/high16 v2, 0x428a

    mul-float/2addr v2, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    const/high16 v2, 0x41d8

    mul-float/2addr v2, p1

    invoke-virtual {v0, v1, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->b:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, 0x1

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v2, 0x43ae

    mul-float/2addr v2, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->c:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v2, v7, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/4 v2, 0x1

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->d:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, 0x1

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/high16 v2, 0x43ae

    mul-float/2addr v2, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    mul-float v2, v7, p1

    const/high16 v3, 0x3f80

    sub-float/2addr v2, v3

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->e:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v2, v7, p1

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    const/4 v2, 0x1

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    const/high16 v2, 0x43ae

    mul-float/2addr v2, p1

    const/high16 v3, 0x3f80

    sub-float/2addr v2, v3

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    :try_start_0
    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v2

    :goto_1
    if-ge v1, v2, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    const v3, 0x43ee8000

    mul-float/2addr v3, p1

    float-to-int v3, v3

    iput v3, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    mul-float v3, v9, p1

    float-to-int v3, v3

    iput v3, v0, Landroid/widget/LinearLayout$LayoutParams;->height:I

    if-lez v1, :cond_2

    const/high16 v3, 0x4120

    mul-float/2addr v3, p1

    float-to-int v3, v3

    iput v3, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :catch_0
    move-exception v0

    goto/16 :goto_0
.end method

.method static synthetic b(Lcom/xingbook/ui/InsetXingBookView;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/ui/InsetXingBookView;)Landroid/widget/HorizontalScrollView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    return-object v0
.end method

.method private c()V
    .locals 8

    const/4 v7, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    move v6, v7

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->i:Lcom/xingbook/b/k;

    iget v0, v0, Lcom/xingbook/b/k;->a:I

    if-le v6, v0, :cond_0

    return-void

    :cond_0
    new-instance v1, Landroid/widget/ImageView;

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetXingBookView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {v1, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    sget-object v0, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    const v0, -0x333334

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->i:Lcom/xingbook/b/k;

    invoke-virtual {v0, v6}, Lcom/xingbook/b/k;->a(I)Ljava/lang/String;

    move-result-object v0

    const/4 v2, -0x1

    const/4 v5, 0x0

    move v4, v3

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const v2, 0x43ee8000

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    const/high16 v4, 0x438c

    iget v5, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-direct {v0, v2, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    if-le v6, v7, :cond_1

    const/high16 v2, 0x4120

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    :cond_1
    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v6, 0x1

    move v6, v0

    goto :goto_0
.end method

.method static synthetic d(Lcom/xingbook/ui/InsetXingBookView;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/ui/InsetXingBookView;->c()V

    return-void
.end method

.method static synthetic e(Lcom/xingbook/ui/InsetXingBookView;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->o:Lcom/xingbook/ui/p;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/p;->sendEmptyMessage(I)Z

    return-void
.end method

.method public a(Lcom/xingbook/b/k;I)V
    .locals 12

    const/high16 v11, 0x4284

    const/high16 v10, 0x41b0

    const/4 v9, 0x1

    const v8, 0x44398000

    const/4 v7, 0x0

    iput-object p1, p0, Lcom/xingbook/ui/InsetXingBookView;->i:Lcom/xingbook/b/k;

    int-to-float v0, p2

    div-float/2addr v0, v8

    iput v0, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetXingBookView;->setBackgroundColor(I)V

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetXingBookView;->getContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    const/high16 v2, 0x420c

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    invoke-virtual {v1, v7, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    const v2, -0x99999a

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    const/16 v2, 0x13

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v10

    float-to-int v2, v2

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v10

    const/high16 v4, 0x40c0

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-virtual {v1, v2, v7, v3, v7}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    const v2, -0x101011

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    const-string v2, "\u661f\u5b9d\u4e66"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v8

    float-to-int v2, v2

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v11

    float-to-int v3, v3

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->g:Landroid/widget/TextView;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/ImageView;

    invoke-direct {v1, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    sget-object v2, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    invoke-virtual {v1, v9}, Landroid/widget/ImageView;->setId(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    invoke-virtual {v1, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v10

    float-to-int v2, v2

    const/high16 v3, 0x4120

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v4, v10

    float-to-int v4, v4

    const/high16 v5, 0x4180

    iget v6, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v5, v6

    float-to-int v5, v5

    invoke-virtual {v1, v2, v3, v4, v5}, Landroid/widget/ImageView;->setPadding(IIII)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v2, 0x42b0

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v11

    float-to-int v3, v3

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const v2, 0x44238000

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    const v2, 0x7f0201d0

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->f:Landroid/widget/ImageView;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/HorizontalScrollView;

    invoke-direct {v1, v0}, Landroid/widget/HorizontalScrollView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v1, v9}, Landroid/widget/HorizontalScrollView;->setVerticalScrollBarEnabled(Z)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v8

    float-to-int v2, v2

    add-int/lit8 v2, v2, -0x2

    const/high16 v3, 0x438c

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v11

    float-to-int v2, v2

    iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v9, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/widget/HorizontalScrollView;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v2, v1}, Landroid/widget/HorizontalScrollView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/LinearLayout;

    invoke-direct {v1, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v7}, Landroid/widget/LinearLayout;->setOrientation(I)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, -0x2

    const/high16 v3, 0x438c

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->j:Landroid/widget/HorizontalScrollView;

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->k:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v2}, Landroid/widget/HorizontalScrollView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    const/high16 v2, 0x420c

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    invoke-virtual {v1, v7, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    const v2, -0x99999a

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    const/16 v2, 0x11

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v10

    float-to-int v2, v2

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v10

    float-to-int v3, v3

    invoke-virtual {v1, v2, v7, v3, v7}, Landroid/widget/TextView;->setPadding(IIII)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v8

    float-to-int v2, v2

    add-int/lit8 v2, v2, -0x2

    const/high16 v3, 0x438c

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v11

    float-to-int v2, v2

    iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iput v9, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    const-string v2, "\u6b63\u5728\u52a0\u8f7d\u00b7\u00b7\u00b7"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->h:Landroid/widget/TextView;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/LinearLayout;

    invoke-direct {v1, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    const/4 v2, -0x1

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v1, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    const/4 v2, 0x2

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setId(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    const/16 v2, 0x11

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v7}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v8

    float-to-int v2, v2

    const/high16 v3, 0x438d

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v11

    float-to-int v2, v2

    iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v1}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/ImageView;

    invoke-direct {v1, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->n:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->n:Landroid/widget/ImageView;

    sget-object v2, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v2, 0x4282

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    const/high16 v3, 0x428a

    iget v4, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->n:Landroid/widget/ImageView;

    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->n:Landroid/widget/ImageView;

    const v2, 0x7f020240

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->n:Landroid/widget/ImageView;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/widget/TextView;

    invoke-direct {v1, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    const/high16 v2, 0x41d8

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    invoke-virtual {v1, v7, v2}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    const v2, -0x99999a

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v2, -0x2

    const/4 v3, -0x2

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    const-string v2, "\u8d44\u6e90\u52a0\u8f7d\u5931\u8d25\uff0c\u70b9\u51fb\u91cd\u65b0\u52a0\u8f7d"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->l:Landroid/widget/LinearLayout;

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->m:Landroid/widget/TextView;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/view/View;

    invoke-direct {v1, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->b:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->b:Landroid/view/View;

    const v2, -0x181819

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v2, 0x43ae

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-direct {v1, v9, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->b:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->b:Landroid/view/View;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/view/View;

    invoke-direct {v1, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->c:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->c:Landroid/view/View;

    const v2, -0x181819

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v8

    float-to-int v2, v2

    invoke-direct {v1, v2, v9}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->c:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->c:Landroid/view/View;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/view/View;

    invoke-direct {v1, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->d:Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->d:Landroid/view/View;

    const v2, -0x181819

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v2, 0x43ae

    iget v3, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    invoke-direct {v1, v9, v2}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v2, v8

    const/high16 v3, 0x3f80

    sub-float/2addr v2, v3

    float-to-int v2, v2

    iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v2, p0, Lcom/xingbook/ui/InsetXingBookView;->d:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->d:Landroid/view/View;

    invoke-virtual {p0, v1}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    new-instance v1, Landroid/view/View;

    invoke-direct {v1, v0}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->e:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->e:Landroid/view/View;

    const v1, -0x181819

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget v1, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v1, v8

    float-to-int v1, v1

    invoke-direct {v0, v1, v9}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/high16 v1, 0x43ae

    iget v2, p0, Lcom/xingbook/ui/InsetXingBookView;->a:F

    mul-float/2addr v1, v2

    const/high16 v2, 0x3f80

    sub-float/2addr v1, v2

    float-to-int v1, v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->e:Landroid/view/View;

    invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->e:Landroid/view/View;

    invoke-virtual {p0, v0}, Lcom/xingbook/ui/InsetXingBookView;->addView(Landroid/view/View;)V

    if-eqz p1, :cond_0

    invoke-virtual {p1, p0}, Lcom/xingbook/b/k;->a(Lcom/xingbook/b/m;)V

    invoke-virtual {p1}, Lcom/xingbook/b/k;->a()Z

    :cond_0
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->o:Lcom/xingbook/ui/p;

    const/4 v1, 0x3

    invoke-virtual {v0, v1, p1}, Lcom/xingbook/ui/p;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->o:Lcom/xingbook/ui/p;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/p;->sendEmptyMessage(I)Z

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->i:Lcom/xingbook/b/k;

    iget-boolean v0, v0, Lcom/xingbook/b/k;->c:Z

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/ui/InsetXingBookView;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/InsetXingBookView;->i:Lcom/xingbook/b/k;

    invoke-static {v0, v1}, Lcom/xingbook/c/t;->a(Landroid/content/Context;Lcom/xingbook/b/n;)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p0}, Lcom/xingbook/ui/InsetXingBookView;->getContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u6b63\u5728\u52a0\u8f7d\u6570\u636e\u00b7\u00b7\u00b7"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->i:Lcom/xingbook/b/k;

    invoke-virtual {v0}, Lcom/xingbook/b/k;->a()Z

    goto :goto_0

    :cond_2
    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/InsetXingBookView;->i:Lcom/xingbook/b/k;

    invoke-virtual {v0}, Lcom/xingbook/b/k;->a()Z

    goto :goto_0
.end method

.method protected onSizeChanged(IIII)V
    .locals 2

    int-to-float v0, p1

    const v1, 0x44398000

    div-float/2addr v0, v1

    invoke-direct {p0, v0}, Lcom/xingbook/ui/InsetXingBookView;->a(F)V

    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/RelativeLayout;->onSizeChanged(IIII)V

    return-void
.end method
